<style>
    .hand_icon{
        cursor:pointer;
    }
    .icon_hide{
        display:none;
    }
    .active{
        color:rgba(0,101,240,1) !important;
    }
    .tt_top2Name2{
        width: 80px;
        height: 25px;
        font-size: 18px;
        font-weight: 400;
        color: rgba(51,51,51,1);
        line-height: 80px;
        margin-left: 10px;
        /*border:1px solid red;*/
    }
</style>
<header class="tt_topAll">
    <div class="tt_top1">
        <div class="tt_top11">
            <span class="tt_top11_name">欢迎，{$info.s_name}</span>
            <span class="tt_top11_name2" style="width: auto">
                <span class="tt_name1 hand_icon">
                    <span onclick="location.href='{:url('shop/Center/newsDetail')}'">消息</span>
                    {if $info.wei == 1 && $Request.action != 'newsdetail'}<div class="tt_aui-dot"></div>{/if}
                </span>
                <span>|</span>
                <span class="tt_name2 hand_icon" onclick="location.href='{:url('shop/Login/loginOut')}'">退出登录</span>
            </span>
        </div>
    </div>
    <div class="tt_top2">
        <div class="tt_top22 flex-wrap">
            <div class="">
                <img src="__IMG__/logo.png" alt="" class="tt_top2Img2">
            </div>
            <div class="tt_top2Name" style="width: auto;margin-right: 10px;">LOGO</div>
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Index'}active{/eq}" onclick="location.href='{:url('shop/Index/tongji')}'">首页统计</div>
            {if $info.shop_auth == 200}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Task'}active{/eq}" onclick="location.href='{:url('shop/Task/homePage')}'">任务管理</div>
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Check'}active{/eq} {eq name='$Request.controller' value='Reasons'}active{/eq}" onclick="location.href='{:url('shop/Check/checkPage')}'">审核管理</div>
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Man'}active{/eq}" onclick="location.href='{:url('shop/Man/manPage')}'">达人中心</div>
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Center'}active{/eq}" onclick="location.href='{:url('shop/Center/centerPage')}'">商家中心</div>
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Coupon'}active{/eq}" onclick="location.href='{:url('shop/Coupon/homePage')}'">卡券管理</div>
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Couponuse'}active{/eq}" onclick="location.href='{:url('shop/Couponuse/homePage')}'">卡券核销</div>
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Role'}active{/eq}" onclick="location.href='{:url('shop/role/rolePage')}'">角色管理</div>
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Account'}active{/eq}" onclick="location.href='{:url('shop/account/rolePage')}'">账号管理</div>
            {else /}
            {in name="1" value="$info.shop_auth"}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Task'}active{/eq}" onclick="location.href='{:url('shop/Task/homePage')}'">任务管理</div>
            {/in}
            {in name="2" value="$info.shop_auth"}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Check'}active{/eq}" onclick="location.href='{:url('shop/Check/checkPage')}'">审核管理</div>
            {/in}
            {in name="3" value="$info.shop_auth"}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Man'}active{/eq}" onclick="location.href='{:url('shop/Man/manPage')}'">达人中心</div>
            {/in}
            {in name="4" value="$info.shop_auth"}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Center'}active{/eq}" onclick="location.href='{:url('shop/Center/centerPage')}'">商家中心</div>
            {/in}
            {in name="7" value="$info.shop_auth"}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Coupon'}active{/eq}" onclick="location.href='{:url('shop/Coupon/homePage')}'">卡券管理</div>
            {/in}
            {in name="8" value="$info.shop_auth"}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Couponuse'}active{/eq}" onclick="location.href='{:url('shop/Couponuse/homePage')}'">卡券核销</div>
            {/in}
            {in name="5" value="$info.shop_auth"}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Role'}active{/eq}" onclick="location.href='{:url('shop/role/rolePage')}'">角色管理</div>
            {/in}
            {in name="6" value="$info.shop_auth"}
            <div class="tt_top2Name2 hand_icon {eq name='$Request.controller' value='Account'}active{/eq}" onclick="location.href='{:url('shop/account/rolePage')}'">账号管理</div>
            {/in}
            {/if}
            <div class="flex-con"></div>
            {if empty($info.s_thumb)}
            <img src="__IMG__/touxiang.png" class="tt_top2Img2"/>
            {else/}
            <img src="{$info.s_thumb}" class="tt_top2Img2"/>
            {/if}
            <style>
                .nameDown{
                    width: 100px;line-height: 40px;margin-top: -20px;text-align: center;
                    color: #313131;background-color: #FFF;font-size: 14px;
                    box-shadow: #ccc 1px 1px 3px 2px;
                    position: absolute;
                    z-index: 9999;
                }
                .downpone{
                    border-bottom: 1px solid #EEEEEE;
                    width: 80px;margin-left: 10px;
                }
                .downptwo{
                    width: 80px;margin-left: 10px;
                }
                .hidden{
                    display: none;
                }
            </style>
            <div class="tt_top2NameLast" onmousemove="over()" onmouseout="out()" style="width: auto;cursor: pointer;">{$info.s_name} ∨
                <div class="nameDown hidden">
                    <p class="downpone" onclick="location.href='{:url('shop/Index/changepass')}'">修改密码</p>
                    <p class="downptwo" onclick="location.href='{:url('shop/Index/changephone')}'">更换手机号</p>
                </div>
            </div>

        </div>
    </div>
    <!--<div class="tt_top3">-->
        <!--<div class="tt_top33">任务管理</div>-->
    <!--</div>-->
</header>